package com.wisdytech.linkdcs.factory.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * @author chenbin
 * @since 2018-05-03
 *
 */
@TableName("TM_PRODUCTION_LINE")
public class ProductionLine extends Model<ProductionLine>{
	
	private static final long serialVersionUID = 1L;
	
	/**
     * 唯一id
     */
    @TableId("PK_ID")
	private String pkId;
    
    /**
     * 厂区id
     */
	@TableField("FACTORY_ID")
	private String factoryId;
	
    /**
     * 产线编码
     */
	@TableField("LINE_CODE")
	private String lineCode;
	
    /**
     * 产线名称
     */
	@TableField("LINE_NAME")
	private String lineName;
	
    /**
     * 标识符
     */
	@TableField("IDENTIFIER")
	private String identifier;
	
    /**
     * 简称
     */
	/*@TableField("SHORT_NAME")
	private String shortName;*/
    
	/**
     * 删除标记
     */
	@TableField("DEL_FLAG")
	private String delFlag;
	
	
    /**
     * 记录创建人
     */
	@TableField("CREATE_USER")
	private String createUser;
    /**
     * 记录创建时间
     */
	@TableField("CREATE_DATE")
	private Date createDate;
    /**
     * 记录更新人
     */
	@TableField("UPDATE_USER")
	private String updateUser;
    /**
     * 记录更新时间
     */
	@TableField("UPDATE_DATE")
	private Date updateDate;
    /**
     * 备注
     */
	@TableField("REMARK")
	private String remark;
    /**
     * 厂区名称
     */
    @TableField(exist=false)
    private String factoryName;
      
    /**
     * 工序名称
     */
    @TableField(exist=false)
    private String operationName;
    /**
     * 工序id
     */
    @TableField(exist=false)
    private String operationId;



	public String getOperationId() {
		return operationId;
	}



	public void setOperationId(String operationId) {
		this.operationId = operationId;
	}



	public String getOperationName() {
		return operationName;
	}



	public void setOperationName(String operationName) {
		this.operationName = operationName;
	}

	public String getFactoryName() {
		return factoryName;
	}



	public void setFactoryName(String factoryName) {
		this.factoryName = factoryName;
	}

	public String getPkId() {
		return pkId;
	}



	public void setPkId(String pkId) {
		this.pkId = pkId;
	}



	public String getFactoryId() {
		return factoryId;
	}



	public void setFactoryId(String factoryId) {
		this.factoryId = factoryId;
	}



	public String getLineCode() {
		return lineCode;
	}



	public void setLineCode(String lineCode) {
		this.lineCode = lineCode;
	}



	public String getLineName() {
		return lineName;
	}



	public void setLineName(String lineName) {
		this.lineName = lineName;
	}


	public String getIdentifier() {
		return identifier;
	}

	public void setIdentifier(String identifier) {
		this.identifier = identifier;
	}

	public String getDelFlag() {
		return delFlag;
	}



	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}



	public String getCreateUser() {
		return createUser;
	}



	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}



	public Date getCreateDate() {
		return createDate;
	}



	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}



	public String getUpdateUser() {
		return updateUser;
	}



	public void setUpdateUser(String updateUser) {
		this.updateUser = updateUser;
	}



	public Date getUpdateDate() {
		return updateDate;
	}



	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}



	public String getRemark() {
		return remark;
	}



	public void setRemark(String remark) {
		this.remark = remark;
	}



	@Override
	protected Serializable pkVal() {
		return this.pkId;
	}

}
